package com.sky.mapper;

import com.sky.entity.AddressBook;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AddressBookMapper {
    void addAddressBook(AddressBook addressBook);

    List<AddressBook> getAddressBook(AddressBook addressBook);

    void updateAddressBook(AddressBook addressBook);

    AddressBook selectAddressBookById(Long id);

    void deleteAddressBookById(Long id);
}
